package cn.wmw.xyy.service;

import cn.wmw.xyy.domain.CourseOrder;
import cn.wmw.xyy.dto.CourseOrderDto;
import cn.wmw.xyy.dto.KillCourseOrderDto;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wmw
 * @since 2023-01-09
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderDto courseOrderDto);

    void insertOrderAndOrderItem(CourseOrder courseOrder);

    CourseOrder selectByOrderNo(String orderNo);

    String killPlaceOrder(KillCourseOrderDto killCourseOrderDto);
}
